home *** CD-ROM | disk | FTP | other *** search
- # (decoded with TMPL 128)
- Text: '
- script DocumentScript
-
- property windowBounds : {20, 20, 300, 300}
-
- on save aReference in anAlias
- -- the reference should be the document
- set windowBounds to bounds of aReference
- continue save aReference in anAlias
- end save
-
- on revert aReference
- continue revert aReference
- set bounds of aReference to windowBounds
- end revert
-
- on close aReference saving anEnum
- set windowBounds to bounds of aReference
- continue close aReference saving anEnum
- end close
-
- end script
-
- set aDocument to make document -- returns an object specifier
- set script of aDocument to DocumentScript
- set modified of aDocument to false
- '